package com.ktjiaoyu.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ktjiaoyu.server.pojo.MenuRole;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jjx
 * @since 2024-07-10
 */
public interface MenuRoleMapper extends BaseMapper<MenuRole> {
    /**
     * 根据角色id查询出所拥有的三级权限
     * @param roleId
     * @return
     */
    public List<MenuRole> selectByRoleId(Integer roleId);
}
